#include "Kinect.h"

void main() {
	int id = 0x01;
	Kinect *kinect = new Kinect(id);
	BodyInfo body;
	kinect->initKinect();
	while(1) {
		kinect->updateBodyInfo(); 
		body = kinect->getBodyInfo();
		if(body.bTracking)
			printf("%.0f, %.0f, %.0f\n",body.pRHand.X,body.pRHand.Y,body.pRHand.Z);
		//else
			//printf("No Body Info Updated\n");
	}
}